<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="perm" uri="/WEB-INF/tld/perm.tld"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script>var ctx="${ctx}";</script>
<div class="form-horizontal" role="form" >
	<input id="id" value="${discussCategory.id}"  type="hidden" name="id"/>
	<div class="form-group">
 	    <label class="col-md-3 col-sm-3 control-label">名称:</label>
        <div class="col-md-9">
        	 <input id="lable" value="${discussCategory.lable}" maxlength="10" type="text" placeholder="名称" class="form-control" name="lable"/>
        </div>
    </div>
	<div class="form-group">
 	    <label class="col-md-3 col-sm-3 control-label">状态:</label>
        <div class="col-md-9">
        	 <select id="status" data-placeholder="选择状态" class="chosen-select full-width"  tabindex="4">
        	 	<option value="1">启用</option>
        	 	<option value="2">停用</option>
			</select>
        </div>
    </div>
</div>
<script type="text/javascript">
$("#status").val("${discussCategory.status}");
$("#status").chosen({ width: '100%' });
</script>
